home *** CD-ROM | disk | FTP | other *** search
- 1 clr
- 2 bc=4:jc=10:jv=219:sc=7:bd=5
- 5 dim b(32),p(31),t(31),c(31),ch(82):li=31
- 8 ford=1to8:readd(d):next
- 9 ch(1)=66:ch(2)=78:ch(42)=67:ch(82)=77:ch(81)=66:ch(80)=78:ch(40)=67:ch(0)=77
- 10 poke53281,0:poke53280,bd:poke646,sc:print"[147][142]"
- 15 fora=0to39:poke55296+a,bc:poke56256+a,bc:poke1024+a,160:poke1984+a,160:next
- 20 fora=40to920step40:poke55296+a,bc:poke55335+a,bc:poke1024+a,160
- 25 poke1063+a,160:next
- 30 l=1524:poke54272+l,jc:pokel,jv
- 90 m=l
- 100 gosub400
- 105 d=int(rnd(1)*9):ifd=0then100
- 110 ifint(rnd(1)*2)thengosub300:goto100
- 200 l=l+d(d):ifpeek(l)=160thenl=m:goto100
- 260 poke54272+l,jc:pokem,32:pokel,jv:poke54272+m,sc
- 270 goto90
- 300 fora=0toli:ifb(a)=0thenv=a:a=li:next:goto320
- 310 next:return
- 320 ifpeek(l+d(d))<>32thenreturn
- 330 p(v)=d(d):t(v)=l+d(d):c(v)=ch(d(d)+41):b(v)=1:poket(v),c(v):return
- 400 a=0
- 405 ifb(a)thengosub420
- 410 a=a+1:ifa=li+1thenreturn
- 415 goto405
- 420 ifpeek(t(a)+p(a))=160thenpoket(a),32:b(a)=0:return
- 430 poket(a),32:t(a)=t(a)+p(a):poket(a),c(a):return
- 60000 data -41,-40,-39,-1,1,39,40,41
-